var express=require("express");
var app=express();
var router=require('./controller')

app.set("view engine","ejs");

app.use(express.static("./public"))
app.use(express.static("./uploads"))

app.get("/",router.showIndex)

app.get("/:albumName",router.showAlbums)

app.use(router.showErr)

app.listen(3000)